package cm.cool.web.bean;


/**
 * 会员实体
 * @author fangzhenxing
 * time 2017年10月17日11:41:23
 */
public class User {
	
	/**主键ID**/
    private Integer id;
    
    /**用户的钱包ID**/
    private String userId;
    
    /**用户名称**/
    private String username;
    
    /**用户性别 男是0 女是1**/
    private Integer sex;
    
    /**年龄**/
    private Integer age;
    
    /**电话**/
    private String phone;
    
    /**头像路径**/
    private String photo;
    
    /**密码**/
    private String password;

    /**支付密码**/
    private String paymentPassword;
    
    /**状态 0是禁用 1是启用**/
    private Integer state;
    
    /**账号等级**/
    private Integer grade;

    /**账号积分**/
    private Integer integral;
    
    /**时间**/
    private String date;

    /**二维码**/
    private String userQrCode;
    	
    /**备注**/
    private Integer flag;
    
    /**登录时间**/
    private String loginDate;
    
    /**钱包个数**/
    private Integer count;
    
    /****/
    private Integer payFlag;
    
    /****/
    private String payDate;

    /****/
    private Integer payCount;

    /****/
    private String token;
    
    /**币种数量,同时作为查询的起始**/
    private String money;
    
    /**币种数量的查询结束**/
    private String moneyEnd;
    
    /**币种编号,默认ec币**/
    private String coinNo="0";
    
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPaymentPassword() {
        return paymentPassword;
    }

    public void setPaymentPassword(String paymentPassword) {
        this.paymentPassword = paymentPassword;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getGrade() {
        return grade;
    }

    public void setGrade(Integer grade) {
        this.grade = grade;
    }

    public Integer getIntegral() {
        return integral;
    }

    public void setIntegral(Integer integral) {
        this.integral = integral;
    }


    public String getUserQrCode() {
        return userQrCode;
    }

    public void setUserQrCode(String userQrCode) {
        this.userQrCode = userQrCode;
    }

    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }


    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public Integer getPayFlag() {
        return payFlag;
    }

    public void setPayFlag(Integer payFlag) {
        this.payFlag = payFlag;
    }


    public Integer getPayCount() {
        return payCount;
    }

    public void setPayCount(Integer payCount) {
        this.payCount = payCount;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public String getLoginDate() {
		return loginDate;
	}

	public void setLoginDate(String loginDate) {
		this.loginDate = loginDate;
	}

	public String getPayDate() {
		return payDate;
	}

	public void setPayDate(String payDate) {
		this.payDate = payDate;
	}

	public String getMoney() {
		return money;
	}

	public void setMoney(String money) {
		this.money = money;
	}

	public String getMoneyEnd() {
		return moneyEnd;
	}

	public void setMoneyEnd(String moneyEnd) {
		this.moneyEnd = moneyEnd;
	}

	public String getCoinNo() {
		return coinNo;
	}

	public void setCoinNo(String coinNo) {
		this.coinNo = coinNo;
	}

	@Override
	public String toString() {
		return "User [id=" + id + ", userId=" + userId + ", username=" + username + ", sex=" + sex + ", age=" + age
				+ ", phone=" + phone + ", photo=" + photo + ", password=" + password + ", paymentPassword="
				+ paymentPassword + ", state=" + state + ", grade=" + grade + ", integral=" + integral + ", date="
				+ date + ", userQrCode=" + userQrCode + ", flag=" + flag + ", loginDate=" + loginDate + ", count="
				+ count + ", payFlag=" + payFlag + ", payDate=" + payDate + ", payCount=" + payCount + ", token="
				+ token + ", money=" + money + ", moneyEnd=" + moneyEnd + ", coinNo=" + coinNo + "]";
	}
    
	
    
}